<div class="layui-side layui-bg-black">
	<div class="layui-side-scroll">
		<!-- 左侧导航区域（可配合layui已有的垂直导航） -->
		<ul class="layui-nav layui-nav-tree" lay-filter="test">
			<#if project.id == "system">
			<li class="layui-nav-item layui-nav-itemed">
				<a class="" href="javascript:;">
					<span style="color: aqua;">系统管理</span>
				</a>
				<dl class="layui-nav-child">

					<dd>
						<a href="${ctx}/adminPage/user">用户管理</a>
					</dd>

					<dd>
						<a href="${ctx}/adminPage/project">项目管理</a>
					</dd>

				</dl>
			</li>
			</#if>
	
			
			<#if project.id != "system">
			<li class="layui-nav-item layui-nav-itemed">
				<a class="" href="javascript:;">
					<span style="color: aqua;">任务管理</span>
				</a>
				<dl class="layui-nav-child">
					<dd>
						<a href="${ctx}/adminPage/function?functionStatus=0">等待阶段</a>
					</dd>
					
					<dd>
						<a href="${ctx}/adminPage/function?functionStatus=1">开发阶段 <span class="redPoint">${status1count}</span></a>
					</dd>
					
					<dd>
						<a href="${ctx}/adminPage/function?functionStatus=2">测试阶段 <span class="redPoint">${status2count}</span></a>
					</dd>
					
					<dd>
						<a href="${ctx}/adminPage/function?functionStatus=5">验证阶段</a>
					</dd>
					
					<dd>
						<a href="${ctx}/adminPage/function?functionStatus=3">完成阶段</a>
					</dd>
					
					<dd>
						<a href="${ctx}/adminPage/function?functionStatus=4">否决阶段</a>
					</dd>
					
					<!-- 
					<dd>
						<a href="${ctx}/adminPage/personLog">个人报告生成</a>
					</dd>
					 -->
					 
					<dd>
						<a href="${ctx}/adminPage/log">项目日志</a>
					</dd>
				</dl>
			</li>
			</#if>
		</ul>
	</div>
</div>

<script type="text/javascript">
	$(function() {
		var url = location.pathname + location.search;
		$("a[href='" + ctx + url.substr(1) + "']").parent().addClass("layui-this");
	})
</script>